package com.info.service;

import com.common.MyPage;
import com.common.MyPageImpl;
import com.common.PagedResult;
import com.info.InfoQueryCondition;
import com.info.domain.Info;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.stereotype.Service;

import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by sola on 2018/1/15.
 */
public interface InfoService {
    /**
     * @param condition
     * @return
     */
    PagedResult<Info> findAll(InfoQueryCondition condition);
}
